package com.roc.service;

import java.util.List;

import com.roc.pojo.Operators;
import com.roc.pojo.YjPosBatch;
import com.roc.pojo.YjPosInfo;

/**
 * 
 * @author Administrator
 *
 */
public interface ITerminalSnBatchSerice {

	/**
	 * 批量导入终端序列号[号段,如:00001-00010]
	 */
	List<YjPosInfo> batchSaveSeriaNumInfo(List<YjPosInfo> posinfo,YjPosInfo pos,Operators operators) throws ServiceException;
	
	/**
	 * 删除SN 批次表
	 * @param posBatch
	 * @param oper
	 * @return
	 * @throws ServiceException
	 */
	boolean deleteTerminalSNBatch(YjPosBatch posBatch, Operators oper) throws ServiceException ;

	/**
	 * 文本框导入终端序列号号段[号段,如:00001-00010]
	 */
	boolean batchTxtSaveSeriaNumInfo(YjPosBatch posBatch,Operators operators) throws ServiceException;

	/**
	 * 云商宝文本框导入终端序列号号段[号段,如:00001-00010]
	 */
	boolean batchYsbTxtSaveSeriaNumInfo(YjPosBatch posBatch,Operators operators) throws ServiceException;
	
	/**
	 * 云商宝文本框分配终端序列号号段[号段,如:00001-00010]
	 * @param tooperator 
	 */
	List<String> batchYsbSaveSeriaNumAgentInfo(YjPosBatch posBatch,Operators operators, Operators tooperator,String flag) throws ServiceException;
	
}
